package com.qiche.service;

import com.github.pagehelper.PageInfo;
import com.qiche.model.Agent;
import com.qiche.model.Workstage;

import java.util.List;

/**
 * Created by Linzw on 2018/01/24.
 */
public interface AgentService extends IService<Agent>{

   PageInfo<Agent> selectByPage(Agent agent, int page, int limit);

    Agent selectByAccountId(Integer id);
    
    Agent selectByOfficialAccount(String officialAccount)throws Exception;
}
